import request from '@/utils/request'

// 查询症型列表
export function getDiseaseList(query) {
  return request({
    url: 'disease/library/list',
    method: 'get',
    params: query
  })
}

// 新增症型
export function addDisease (data) {
  return request({
    url: 'disease/library/add',
    method: 'post',
    data
  })
}

// 编辑症型
export function editDisease (data) {
  return request({
    url: 'disease/library/update',
    method: 'post',
    data
  })
}


// 删除症型
export function removeDisease (data) {
  return request({
    url: 'disease/library/delete',
    method: 'post',
    data
  })
}

